package cn.fanyamin.model;

import java.util.Date;

/**
 * @author walter
 * 
 */
public class Book extends BaseObject {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 1156666440406865554L;
    private Integer bookId;
    private String bookSN;
    private String bookName;
    private String author;
    private String intro;
    private String tags;
    private Category category;
    private Date publishDate;
    private int count;

    public Book() {

    }

    public Book(Integer bookId, String bookSN, String bookName, String tags,
            Date pubDate) {
        super();
        this.bookId = bookId;
        this.bookSN = bookSN;
        this.bookName = bookName;
        this.tags = tags;
        this.publishDate = pubDate;
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookID) {
        this.bookId = bookID;
    }

    public String getBookSN() {
        return bookSN;
    }

    public void setBookSN(String bookSN) {
        this.bookSN = bookSN;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public Category getCategory() {
        return category;
    }

    public void setCategory(Category category) {
        this.category = category;
    }

    public Date getPublishDate() {
        return publishDate;
    }

    public void setPublishDate(Date publishDate) {
        this.publishDate = publishDate;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getIntro() {
        return intro;
    }

    public void setIntro(String intro) {
        this.intro = intro;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

}
